.yg-home {
  .search {
    height: 100rpx;
    width: 750rpx;
    line-height: 100rpx;
    background: #ff2d4a;
    display: flex;
    align-items: center;
    justify-content: center;
    .search-cont {
      width: 90%;
      height: 80rpx;
      line-height: 80rpx;
      background: #fff;
      text-align: center;
    }
  }
  .yg-swiper {
    swiper {
      height: 340rpx;
      swiper-item {
        image {
          height: 100%;
        }
      }
    }
  }
  .yg-nav {
    margin-top: 12rpx;
    margin-bottom: 43rpx;
    display: flex;
    navigator {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      image {
        height: 70px;
        width: 128rpx;
      }
    }
  }
  .pyg_floorData {

    .floor_title {
        margin-top: 10rpx;

        image {
            height: 59rpx;
        }
    }

    .product_list {
        overflow: hidden;

        navigator {
            float: left;
            &:nth-child(1) {
                margin-left: 16rpx;
                height: 386rpx;
                width: 232rpx;
            }

            &:nth-child(2),
            &:nth-child(4) {
                margin-left: 15rpx;
                height: 188rpx;
                width: 233rpx;
            }


            &:nth-child(3),
            &:nth-child(5) {
                margin-left: 15rpx;
                height: 188rpx;
                width: 223rpx;
            }

            &:nth-child(3),
            &:nth-child(2) {
                margin-bottom: 10rpx;
            }
            image{
                width: 100%;
                height: 100%;
            }

        }

    }

}
}
